package com.fumihiko.modules.wsbj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fumihiko.common.utils.PageUtils;
import com.fumihiko.modules.ca.vo.UserTokenVo;
import com.fumihiko.modules.wsbj.entity.TbTokenEntity;

import java.text.ParseException;
import java.util.Map;

/**
 * ${comments}
 *
 * @author hanwenpeng
 * @email devilzwy@gmail.com
 * @date 2022-01-19 10:09:51
 */
public interface TbTokenService extends IService<TbTokenEntity> {

    PageUtils queryPage(Map<String, Object> params);

    String getToken(String appId, String appSecret, String timestamp) throws ParseException;

    TbTokenEntity getUserTokenVoObjByAccessToken(String accessToken);
}

